package cn.com.cetccst.datacenter.policy.fence;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class GFence {
    @SerializedName("name")
    private String name;
    @SerializedName("accuracy")
    private int accuracy;
    @SerializedName("frequency")
    private int frequency;
    @SerializedName("areas")
    private List<Area> areas;

    public List<Area> getAreas() {
        return areas;
    }

    public int getFrequency() {
        return frequency;
    }

    public int getAccuracy() {
        return accuracy;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAccuracy(int accuracy) {
        this.accuracy = accuracy;
    }

    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

    public void setAreas(List<Area> areas) {
        this.areas = areas;
    }

    public static class Area {
        @SerializedName("title")
        private String title;
        @SerializedName("shape")
        private String shape;
        @SerializedName("outline")
        private String outline;

        public String getTitle() {
            return title;
        }

        public String getShape() {
            return shape;
        }

        public String getOutline() {
            return outline;
        }
    }
}

